#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
//    QString style="QSpinBox::up-button{image:url(:/up.png);border-bottom: 1px solid #ccc;}";//在上按钮的底部添加分割线，通过添加灰色边框的方式

//    style+="QSpinBox::down-button{image:url(:/down.png);}";
//    this->setStyleSheet("QSpinBox::up-button{image:url(:/up.png);}");
//    this->setStyleSheet("QSpinBox::down-button{image:url(:/down.png);}");
//    this->setStyleSheet(style);4


}

Widget::~Widget()
{
    delete ui;
}

